
message ("-- Looking for NVidia PhysX")
#find the include directory
find_path (NV_PHYSX_INCLUDE_DIR
          NAMES Cg/cg.h
          )


find_library (NV_PHYSX_LIBRARIES
              NAMES CgGL Cg
              )

set (NV_PHYSX_FOUND "NO")
if (NV_PHYSX_LIBRARIES)
  set (NV_PHYSX_FOUND "YES")
endif()



if (NV_PHYSX_FOUND)
  message ("-- Looking for NVidia PhysX - found")
else()
  message ("-- Looking for NVidia PhysX - not found")
endif()
